<%@ page import="java.util.Enumeration" %>

<html>
<body>
<p>
<%
	Enumeration e = getServletContext().getInitParameterNames();
	while(e.hasMoreElements()){
		out.println("<br>param name = "+e.nextElement());
	}
	out.println("<br>");
	//通过servletContext获取上下文初始化信息
	out.println("admin email is "+getServletContext().getInitParameter("adminEmail"));
%>
</p>
</body>
</html>